package com.cloud.pole.user.model.entity.collection;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
@Table(name="user_collection_type")
public class UserCollectionType implements Serializable {
    /**
     * 收藏对象类型ID
     */
    @Id
    private Integer objectTypeId;

    /**
     * 类型名称
     */
    @NotEmpty
    private String typeName;

    /**
     * 状态（1：有效 0：无效）
     */
    @NotEmpty
    private Integer typeStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 说明
     */
    private String typeDesc;

    private static final long serialVersionUID = 1L;

    public Integer getObjectTypeId() {
        return objectTypeId;
    }

    public void setObjectTypeId(Integer objectTypeId) {
        this.objectTypeId = objectTypeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getTypeStatus() {
        return typeStatus;
    }

    public void setTypeStatus(Integer typeStatus) {
        this.typeStatus = typeStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTypeDesc() {
        return typeDesc;
    }

    public void setTypeDesc(String typeDesc) {
        this.typeDesc = typeDesc;
    }
}